@irob the hierarchy is explained here: https://retropie.org.uk/forum/topic/22816/guide-retroarch-system-emulator-core-and-rom-config-files
this also explains how to reset back to retropie's default configs (which, as you've found is quite different from retroarch's)